package com.chtw.oasystem.mapper;

import com.chtw.oasystem.bean.ChangeLogs;
import com.chtw.oasystem.bean.ChangeLogsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChangeLogsMapper {
    int countByExample(ChangeLogsExample example);

    int deleteByExample(ChangeLogsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ChangeLogs record);

    int insertSelective(ChangeLogs record);

    List<ChangeLogs> selectByExample(ChangeLogsExample example);

    ChangeLogs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ChangeLogs record, @Param("example") ChangeLogsExample example);

    int updateByExample(@Param("record") ChangeLogs record, @Param("example") ChangeLogsExample example);

    int updateByPrimaryKeySelective(ChangeLogs record);

    int updateByPrimaryKey(ChangeLogs record);

    List<ChangeLogs> selectLogs(@Param("page")int page, @Param("offset")int offset, @Param("OwnerUserNames")List<String> OwnerUserNames);

    int countLog(@Param("OwnerUserNames") List<String> OwnerUserNames);
}